<?php
class Lend extends Model {
	const TYPE_ORDERED 	= 'zamowiona';
	const TYPE_WAITING 	= 'oczekuje';
	const TYPE_LEND		= 'wypozyczona';
	const TYPE_RETURNED	= 'zwrocona';
	
	/**
	 * @return Copy
	 */
	public function getCopy()
	{
		return CopyManager::getInstance()->getById($this->idEgemplarza);	
	}
}